
.topbar{
    z-index: 100;
    position: fixed;
    left:0;
    top:0;
    width: 100%;
    height: 1.8rem;
    background: transparent;
}
.button{
    background:url("../../assets/images/icon0.png") no-repeat;
    background-size: 100% 100%;
    border-radius: 0.8rem;
    color: #fff;
    display: block;
    text-align: center;
    width: 13.72rem;
    height: 1.5rem;
    font-size: .6rem;
}
.back{
    width: 1.8rem;
    height: 1.8rem;
    border-radius: 50%;
}

.back img{
    width: 1.6rem;
}

.swiper-container img{
    width: 100%;
}
.good{
   padding:0.4rem 0.6rem;
 }
.price p{
    margin-right: 50px;
}
.price b{
    font-size:1rem;
    color:#ff6700;
}



.price b span{
    font-size:0.64rem;
    display: inline-block;
    vertical-align: top;
    
}

.price span{
    font-size:0.48rem;
}

.goodsname{
    line-height: 2em;
    font-size: 0.64rem;
    font-weight: bold;
    color:#000;
}

footer{
    position: fixed;
    left:0;
    bottom:0;
    width: 100%;
    border-top:0.04rem solid #ddd;
}
footer ul{
    display: flex;
    justify-content: space-around;
    align-items: center;
    height: 2.2rem;
  
}

footer li:nth-of-type(-n+2){
    display: flex;
    flex-direction: column;
    align-items: center;
    font-size:0.48rem;
}

footer li:last-of-type{
    display: flex;
}


footer img{
    width: 1.2rem;
}


footer li:last-of-type a{
    padding:0.32rem 0.8rem;
    font-size:0.6rem;
    color:#fff;
}
footer .tocart{
    border-radius: 1rem 0  0 1rem;
    background: linear-gradient(90deg,#fdcf00,#fd9b00);
}
footer .tobuy{
    border-radius: 0 1rem  1rem   0;
    background: linear-gradient(90deg,#ff7310,#fe3f00);
}

footer .cart{
    position: relative;
}

footer .cartnum{
        position: absolute;
        left: 195px;
        width: 1.4em;
        height: 1.4em;
        text-align: center;
        line-height: 1.4em;
        background: rgba(orangered,.7);
        color:#fff;
        font-size: 12px;
        border-radius: 50%;      
    }
    .button {
        margin: 2rem 0 0 .4rem;
        line-height: 1.5rem;
    }